package com.quectel.cms.vo.home;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 在这里编写说明
 *
 * @author: bob
 * @email: bob.yu@quectel.com
 * @date: 2023-02-16 13:59:00
 */
@Data
@Schema
public class CommonCountResp {

    @Schema(description = "x轴数据")
    private String[] xData;

    @Schema(description = "y轴各状态数据")
    private DataInfo[] yData;

    @Data
    @Schema
    @AllArgsConstructor
    @NoArgsConstructor
    public static class DataInfo {

        @Schema(description = "数据名称")
        private String name;

        @Schema(description = "数据值")
        private Number[] data;
    }
}